import { request } from "@/utils/service"

/** 外呼线路列表 */
export function outcallLineListApi(data: any) {
  return request({
    url:"/system/outcall/line/list",
    method: "POST",
    data
  })
}

/** 新增 */
export function addOutcallLineApi(data: any) {
  return request({
    url:"/system/outcall/line/insert",
    method: "POST",
    data
  })
}

/** 修改 */
export function editOutcallLineApi(data: any) {
  return request({
    url:"/system/outcall/line/update",
    method: "POST",
    data
  })
}

/** 删除 */
export function delOutcallLineApi(data: any) {
  return request({
    url:"/system/outcall/line/delete",
    method: "POST",
    data
  })
}

/** 下拉 */
export function selectOutcallLineApi(data?: any) {
  return request({
    url:"/system/outcall/line/select",
    method: "POST",
    data
  })
}

